home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
APDL Eductation Resources
/
APDL Eductation Resources.iso
/
programs
/
electronic
/
rlab
/
!RLaB
/
help_s_z
/
sign
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1994-07-13
|
303 b
|
21 lines
sign:
Synopsis: Sign function.
Syntax: sign ( A )
Description:
For real scalar argument, sign returns:
1 if A > 0
0 if A == 0
-1 if A < 0
For a complex scalar sign returns:
A ./ abs (A)
sign performs its operation on real and complex matrices in an
element by element fashion.